package com.ruoyi.lvlian.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

@Data
@ToString
@ApiModel(value = "工商信息", description = "工商信息")
public class BusinessLicenseInfoDto {

    @ApiModelProperty(value = "主体名称-企业名称&个体名称")
    private String companyName;

    /**
     * 统一社会信用代码-税号
     */
    @ApiModelProperty(value = "统一社会信用代码-税号")
    private String companyCode;

    @ApiModelProperty(value = "主体角色 供应商、利废企业、再生资源企业"  )
    @NotNull(message = "主体角色不能为空") // 这是实际的验证注解
    private String subjectRole;



    @ExcelProperty("主体类型")
    @ApiModelProperty(value = "主体类型:自然人, 企业" )
//    , required = true
    private String subjectType;



    @ApiModelProperty(value = "主体编号-编号规则中包含上类型")
    private String subjectNum;

    private String createUser;
    @NotNull(message = "orgCodes不能为空") // 这是实际的验证注解
    private List<String> orgCodes;


    @ApiModelProperty(value = "标签")
    private String label;


    @ApiModelProperty(value = "数据来源填 实时物流小程序  四流平台")
    private String dataSource;

    @ApiModelProperty(value = "是否有图")
    private Boolean haveImg;

//    @ApiModelProperty(value = "门牌号码")
//    private String standardAddress3;
}
